function subtract([int]$a, [int]$b) 
{
    # $args not used when parameters are defined
    # return $args.Count
    return $a - $b
}

subtract 10 4
subtract "10" "4"
subtract 10.5 4.3
subtract "10.5" "4.3"
subtract 1 "2"